% !TEX TS-program = lualatex
% !TEX encoding = UTF-8

% This is a simple template for a LuaLaTeX document using gregorio scores.

\documentclass[letterpaper,12pt]{article} % use larger type; default would be 10pt

% usual packages loading:
%\usepackage{luatextra}
%\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % or letterpaper (US) or a5paper or....
\usepackage{gregoriotex} % for gregorio score inclusion

% If you use usual TeX fonts, here is a starting point:
%\usepackage{palatino}
%\input{glyphtounicode} \pdfglyphtounicode{f_f}{FB00} \pdfglyphtounicode{f_f_i}{FB03} \pdfglyphtounicode{f_f_l}{FB04}
%\pdfglyphtounicode{Q_u}{E048} \pdfglyphtounicode{O_e}{0152} \pdfglyphtounicode{o_e}{0153}
%\pdfgentounicode=1
% to change the font to something better, you can install the kpfonts package (if not already installed). To do so
% go open the "TeX Live Manager" in the Menu Start->All Programs->TeX Live 2010
\input{../gsp-spaces}
%\def\greinitialformat#1{{\fontsize{37}{37}\selectfont #1}}
%small > footnotesize > scriptsize > tiny


% my stuff
\usepackage[garamond]{../mypackage}
% end my stuff

\setgrefactor{17}


\marginsize{25pt}{25pt}{25pt}{30pt}
\pagestyle{fancy} % no header or footers
\let\oldheadrulewidth\headrulewidth
\renewcommand\headrulewidth{0pt}
\cfoot{\thepage}

% here we begin the document
\begin{document}
%\chead{Sunday At Vespers}

% The title:
\vspace*{-11ex}
\begin{center}{\huge 1st Vespers of St Philip Neri.}\end{center}
\vspace{-2ex}

% Here we set the space around the initial.
% Please report to http://home.gna.org/gregorio/gregoriotex/details for more details and options
\setspaceafterinitial{1.5mm plus 0em minus 0em}
\setspacebeforeinitial{1.5mm plus 0em minus 0em}

% Here we set the initial font. Change 43 if you want a bigger initial.
\def\greinitialformat#1{%
{\fontsize{40}{40}\selectfont #1}%
}

% We set red lines here, comment it if you want black ones.
%\redlines

% We set VII above the initial.
{\gresetfirstlineaboveinitial{\small \Vbar .}{\small \Vbar .}

% We type a text in the top right corner of the score:
%\commentary{{\small \emph{Cf. Is. 30, 19 . 30 ; Ps. 79}}}

% and finally we include the score. The file must be in the same directory as this one.
{\bfseries Solemn Tone.}

\smallskip
\large
\includescore{deusinadjutorium_solemn}}%
\translation[]{\Vbar . O God, come to my assistance. \Rbar . O Lord, make haste to help me. Glory be \ldots}
%{\itshape From Septuagesima to Wednesday in Holy Week, the following is said instead of} Allelúia :

%\includescore{LausTibiDomine}
%\smallskip
\hrule
\medskip
\gresetfirstlineaboveinitial{\small{1 Ant.}}{\small{1 Ant.}}
\setsecondannotation{\small{7. c}}
\large
\includescore{Ant1-DeExcelso}
\vspace{-1ex}
\translation[]{\normalsize From above hath he sent fire into my bones, and it prevaileth against them.}
\vspace{-3ex}
\begin{center}{\Large Psalm 109.}\end{center}
\vspace{-1.5ex}
\includescore{Psalm109-7c}
\medskip

\normalsize
%\vspace{-20pt}
\setlength{\columnsep}{18pt}
\setlength{\columnseprule}{.4pt}
\begin{parcolumns}[rulebetween]{2}
\colchunk{\vspace{-12pt}%
\begin{psalmverses}[1]
\item Donec ponam ini\textbf{mí}cos \textbf{tu}os,~* scabéllum \textbf{pe}dum tu\-\textbf{ó}\-rum.
\item Virgam virtútis tuæ emíttet Dómi\textbf{nus} ex \textbf{Si}on~:~* domináre in médio inimi\textbf{có}rum tu\textbf{ó}rum.
\item Tecum princípium in die virtútis tuæ in splendóri\textbf{bus} san\textbf{ctó}rum~:~* ex útero ante lucíferum \textbf{gé}nu\textbf{i} te.
\item Jurávit Dóminus, et non pœni\textbf{té}bit \textbf{e}um~:~* Tu es sacérdos in ætérnum secúndum órdi\textbf{nem} Mel\textbf{chí}sedech.
\item Dóminus a \textbf{dex}tris \textbf{tu}is,~* confrégit in die iræ \textbf{su}æ \textbf{re}ges.
\item Judicábit in natiónibus, im\textbf{plé}bit ru\textbf{í}nas~:~* conquassábit cápita in \textbf{ter}ra mul\textbf{tó}rum.
\item De torrénte in \textbf{vi}a \textbf{bi}bet~:~* proptérea exal\textbf{tá}bit \textbf{ca}put.
\item Glória \textbf{Pá}tri, et \textbf{Fí}lio,~* et Spi\textbf{rí}tui \textbf{Sán}cto.
\item Sicut érat in princípio, et \textbf{núnc}, et \textbf{sém}per,~* et in saécula sæcu\textbf{ló}rum. \textbf{A}men.\end{psalmverses}
}
\selectlanguage{american}
%\columnbreak
\colchunk{\vspace{-12pt}%
\begin{psalmverses}
\item The Lord said to my Lord: Sit thou at my right hand: 
\item Until I make thy enemies thy footstool.
\item The Lord will send forth the sceptre of thy power out of Sion: rule thou in the midst of thy enemies.
\item With thee is the principality in the day of thy strength: in the brightness of the saints: from the womb before the day star I begot thee.
\item The Lord hath sworn, and he will not repent: Thou art a priest for ever according to the order of Melchisedech.
\item The Lord at thy right hand hath broken kings in the day of his wrath.
\item He shall judge among nations, he shall fill ruins: he shall crush the heads in the land of the many.
\item He shall drink of the torrent in the way: therefore shall he lift up the head.
\end{psalmverses}
}
\selectlanguage{latin}
\end{parcolumns}
\pagebreak

\renewcommand\headrulewidth{\oldheadrulewidth}
\chead{1st Vespers of St Philip Neri}
\gresetfirstlineaboveinitial{\small {2 Ant.}}{\small {2 Ant.}}
\setsecondannotation{\small {2. D}}
\large
\includescore{Ant2-Concaluit}
\translation[]{\normalsize My heart was hot within me: and while I was thus musing the fire kindled.}
\begin{center}{\Large Psalm 110.}\end{center}
\includescore{Psalm110-2D}
\normalsize\medskip

\begin{parcolumns}[rulebetween]{2}
\colchunk{\vspace{-12pt}%
\begin{psalmverses}[1]
\item Magna ópera \textbf{Dó}mini~:~* exquisíta in omnes voluntá\emph{tes} \textbf{e}jus.
\item Conféssio et magnificéntia opus \textbf{e}jus~:~* et justítia ejus manet in sæcu\emph{lum} \textbf{sæ}culi.
\item Memóriam fecit mirabílium suórum,~† miséricors et miserátor \textbf{Dó}minus~:~* escam dedit timén\emph{ti}\textbf{bus} se.
\item Memor erit in sæculum testaménti \textbf{su}i~:~* virtútem óperum suórum annuntiábit pópu\emph{lo} \textbf{su}o~:
\item Ut det illis hereditátem \textbf{gén}tium~:~* ópera mánuum ejus véritas, et \emph{ju}\textbf{dí}cium.
\item Fidélia ómnia mandáta ejus~:~† confirmáta in sæculum \textbf{sæ}culi,~* facta in veritáte et æ\emph{qui}\textbf{tá}te.
\item Redemptiónem misit pópulo \textbf{su}o~:~* mandávit in ætérnum testamén\emph{tum} \textbf{su}um.
\item \emph{(All bow)} Sanctum, et terríbile nomen \textbf{e}jus~:~* inítium sapiéntiæ ti\emph{mor} \textbf{Dó}mini.
\item Intelléctus bonus ómnibus faciéntibus \textbf{e}um~:~* laudátio ejus manet in sæcu\emph{lum} \textbf{sæ}culi.
\item Glória Pátri, et \textbf{Fí}lio,~* et Spirítu\emph{i} \textbf{Sán}cto.
\item Sicut érat in princípio, et núnc, et \textbf{sém}per,~* et in saécula sæculó\emph{rum}. \textbf{A}men.\end{psalmverses}
}
%\columnbreak
\selectlanguage{american}
\colchunk{\vspace{-12pt}%
\sloppy
\begin{psalmverses}[0]
\item I will praise thee, O Lord, with my whole heart; in the council of the just: and in the congregation.
\item Great are the works of the Lord: sought out according to all his wills
\item His work is praise and magnificence: and his justice continueth for ever and ever.
\item He hath made a remembrance of his wonderful works, being a merciful and gracious Lord: he hath given food to them that fear him.
\item He will be mindful for ever of his covenant: he will shew forth to his people the power of his works.
\item That he may give them the inheritance of the Gentiles: the works of his hands are truth and judgment.
\item All his commandments are faithful: confirmed for ever and ever, made in truth and equity.
\item He hath sent redemption to his people: he hath commanded his covenant for ever.
\item Holy and terrible is his name: the fear of the Lord is the beginning of wisdom.
\item A good understanding to all that do it: his praise continueth for ever and ever.
\end{psalmverses}
}
\selectlanguage{latin}
\end{parcolumns}
\pagebreak

\gresetfirstlineaboveinitial{\small{3 Ant.}}{\small{3 Ant.}}
\setsecondannotation{\small{1. g3}}
\large
\includescore{Ant3-CorMeum}
%\vspace{-2ex}
\translation[]{\normalsize My heart and my flesh rejoice in the living God.}
\begin{center}{\Large Psalm 111.}\end{center}
\normalsize
\includescore{Psalm111-1g3}
\normalsize

%\medskip
\begin{parcolumns}[rulebetween]{2}
\colchunk{\vspace{-12pt}%
\begin{psalmverses}[1]
\item Potens in terra erit \textbf{se}men \textbf{e}jus~:~* generátio rectórum be\emph{ne}\emph{di}\textbf{cé}tur.
\item Glória, et divítiæ in \textbf{do}mo \textbf{e}jus~:~* et justítia ejus manet in sæ\emph{cu}\emph{lum} \textbf{sæ}culi.
\item Exórtum est in ténebris \textbf{lu}men \textbf{re}ctis~:~* miséricors, et miserá\emph{tor}, \emph{et} \textbf{ju}stus.
\item Jucúndus homo qui miserétur et cómmodat,~† dispónet sermónes suos \textbf{in} ju\textbf{dí}cio~:~* quia in ætérnum non \emph{com}\-\emph{mo}\-\textbf{vé}\-bi\-tur.
\item In memória ætérna \textbf{e}rit \textbf{ju}stus~:~* ab auditióne mala \emph{non} \emph{ti}\textbf{mé}bit.
\item Parátum cor ejus speráre in Dómino,~† confirmátum \textbf{est} cor \textbf{e}jus~:~* non commovébitur donec despíciat ini\emph{mí}\emph{cos} \textbf{su}os.
\item Dispérsit, dedit paupéribus~:~† justítia ejus manet in \textbf{sæ}\-cu\-lum \textbf{sæ}culi,~* cornu ejus exaltábi\emph{tur} \emph{in} \textbf{gló}ria.
\item Peccátor vidébit, et irascétur,~† déntibus suis fremet \textbf{et} ta\textbf{bé}scet~:~* desidérium peccató\emph{rum} \emph{per}\textbf{í}bit.
\item Glória \textbf{Pá}tri, et \textbf{Fí}lio,~* et Spirí\emph{tu}\emph{i} \textbf{Sán}cto.
\item Sicut érat in princípio, et \textbf{núnc}, et \textbf{sém}per,~* et in saécula sæcu\emph{ló}\emph{rum}. \textbf{A}men.
\end{psalmverses}
}
%\columnbreak
\selectlanguage{american}
\colchunk{\vspace{-12pt}%
\sloppy
\begin{psalmverses}[0]
\item Blessed is the man that feareth the Lord: he shall delight exceedingly in his commandments.
\item His seed shall be mighty upon earth: the generation of the righteous shall be blessed.
\item Glory and wealth shall be in his house: and his justice remaineth for ever and ever.
\item To the righteous a light is risen up in darkness: he is merciful, and compassionate and just.
\item Acceptable is the man that showeth mercy and lendeth: he shall order his words with judgment: because he shall not be moved for ever.
\item The just shall be in everlasting remembrance: he shall not hear the evil hearing.
\item His heart is ready to hope in the Lord: his heart is strengthened, he shall not be moved until he look over his enemies.
\item He hath distributed, he hath given to the poor: his justice remaineth for ever and ever: his horn shall be exalted in glory.
\item The wicked shall see, and shall be angry, he shall gnash with his teeth and pine away: the desire of the wicked shall perish.
\end{psalmverses}
}
\selectlanguage{latin}
\end{parcolumns}
\pagebreak

\gresetfirstlineaboveinitial{\footnotesize{4 Ant.}}{\small{4 Ant.}}
\setsecondannotation{\small{5. a}}
\large
\includescore{Ant4-FactusEst}
\translation[]{\normalsize There came in my heart as a burning fire, shut up in my bones, and I was wearied, not being able to bear it.}
%\vspace{-3.5ex}
\begin{center}{\Large Psalm 112.}\end{center}
%\vspace{-1ex}
%\setgrefactor{15}
\normalsize
\includescore{Psalm112-5a}
\medskip
\begin{parcolumns}[rulebetween,colwidths={1=290pt}]{2}
\colchunk{\vspace{-12pt}%
\begin{psalmverses}[1]
\item Sit nomen Dómini bene\textbf{dí}ctum,~* ex hoc nunc, et \textbf{us}\-que in \textbf{sæ}culum.
\item A solis ortu usque ad oc\textbf{cá}sum,~* laudábile \textbf{no}men \textbf{Dó}\-mi\-ni.
\item Excélsus super omnes gentes \textbf{Dó}minus,~* et super cælos \textbf{gló}\-ri\-a \textbf{e}jus.
\item Quis sicut Dóminus, Deus noster, qui in altis \textbf{há}bitat,~* et humília réspicit in cælo \textbf{et} in \textbf{ter}ra?
\item Súscitans a terra \textbf{ín}opem,~* et de stércore \textbf{é}rigens \textbf{páu}\-pe\-rem~:
\item Ut cóllocet eum cum prin\textbf{cí}pibus,~* cum princípibus \textbf{pó}puli \textbf{su}i.
\item Qui habitáre facit stérilem in \textbf{do}mo,~* matrem fili\textbf{ó}rum læ\-\textbf{tán}\-tem.
\item Glória Pátri, et \textbf{Fí}lio,~* et Spi\textbf{rí}tui \textbf{Sán}cto.
\item Sicut érat in princípio, et núnc, et \textbf{sém}per,~* et in saécula sæcu\textbf{ló}rum. \textbf{A}men.\end{psalmverses}
}
\selectlanguage{american}
\colchunk{\vspace{-12pt}\small%
\begin{psalmverses}[0]
\item Praise the Lord, ye children: praise ye the name of the Lord.
\item Blessed be the name of the Lord, from henceforth now and for ever.
\item From the rising of the sun unto the going down of the same, the name of the Lord is worthy of praise.
\item The Lord is high above all nations; and his glory above the heavens.
\item Who is as the Lord our God, who dwelleth on high: and looketh down on the low things in heaven and in earth?
\item Raising up the needy from the earth, and lifting up the poor out of the dunghill:
\item That he may place him with princes, with the princes of his people.
\item Who maketh a barren woman to dwell in a house, the joyful mother of children.
\end{psalmverses}
}
\selectlanguage{latin}
\end{parcolumns}
\medskip
\pagebreak
%\hrule
\medskip

\setgrefactor{17}
\gresetfirstlineaboveinitial{\small{5 Ant.}}{\footnotesize{5 Ant.}}
\setsecondannotation{\small{3. a}}
\large
\includescore{Ant5-Defecit}
%\vspace{-4ex}
\translation[]{\normalsize My flesh and my heart faileth; but God is the strength of my heart, and my portion for ever.}
\vspace{-2ex}
\begin{center}{\Large Psalm 116.}\end{center}
\vspace{-1ex}
%\setgrefactor{15}%
\normalsize%
\includescore{Psalm116-3a}
%\begin{multicols}{2}
%\vspace{-1ex}
%\begin{Parallel}[v]{}{}
% default colwidth is 265pt
%colwidths={1=262pt},rulebetween
\smallskip
\begin{parcolumns}[rulebetween]{2}
%\ParallelLText
\colchunk{%
\vspace{-12pt}
\begin{psalmverses}[1]
\item Quóniam confirmáta est super nos miseri\textbf{cór}dia \textbf{e}jus~:~* et véritas Dómini manet in \emph{æ}\textbf{tér}num.
\item Glória \textbf{Pá}tri, et \textbf{Fí}\textbf{li}o,~* et Spirítu\emph{i} \textbf{Sán}cto.
\item Sicut érat in princípio, et \textbf{núnc}, et \textbf{sém}per,~* et in saécula sæculó\emph{rum}. \textbf{A}men.\end{psalmverses}
}
\selectlanguage{american}
%\ParallelRText{%
\colchunk{%
\vspace{-12pt}
%\small
\sloppy
\begin{psalmverses}[0]
\item O Praise the Lord, all ye heathens; praise him, all ye nations.
\item For his merciful kindness is ever more and more towards us; and the truth of the Lord endureth for ever.
\end{psalmverses}}
\selectlanguage{latin}
\end{parcolumns}
\bigskip
\hrule
\bigskip

\normalsize
\begin{center}{\large\textbf Chapter.}\end{center}
% default width is 265pt
% ,colwidths={1=253pt}
\begin{parcolumns}[rulebetween]{2}
\colchunk{\sloppy\dropcap{latin}{Cáritas Déi diffúsa est in córdibus nóstris, per inhabitántem Spíritum ejus in nóbis.}}
\colchunk{\sloppy \dropcap{american}{The love of God is shed abroad in our hearts by the Holy Ghost which is given unto us.}}
\end{parcolumns}
\medskip

\gresetfirstlineaboveinitial{\small{Hymn.}}{\small{Hymn.}}
\setsecondannotation{\small{3.}}
\large
\includescore{Hymn-PangamusNerio}
\normalsize
\selectlanguage{american}
\begin{multicols}{2}
\begin{psalmverses}
{\item Let us sing the songs that are Neri's due,
Whom Virtue and Merit famously exalted
Over the shining stars in the sky,
Where he might pluck the pious joys of heaven.

\item Seeing his dwelling place
Ravaged by sudden and calamitous fire,
He disdains weeping,
Though a few of his tears might easily overcome the flames.

\item Foregoing his uncle's magnanimous offer of gold coins,
He wendeth his way to Rome
Whom, more than any other city,
He illustriously makes to shine again.

\item Down in the catacombs,
Filled with the bodies of the martyrs,
He spends whole wakeful nights,
Busily learning from the very dead,
The rule whereby to live.

\item Constant Glory be to the nourishing Trinity,
Sustainer of the Sky, Abyss and Earth themselves;
And Who grant us through Neri's prayers
The perpetual joys of heaven, our true and native home.
The perpetual joys of the sweet native land. Amen.
%\\
%\\
%\item[]
}
\end{psalmverses}
\begin{flushright}\emph{Translated by Dr Roberto Linello, CB}\end{flushright}
\end{multicols}
\selectlanguage{latin}
\emph{Tempore Paschali:}

\includescore{vrDeusVirtutumPT}
\translation[]{
\Vbar{}. God of hosts, look down from heaven, and visit this vineyard.\\
\Rbar{}. And perfect the same which thy right hand hath planted.
}
\pagebreak
\begin{center}{\large Magnificat.}\end{center}
\vspace{-1ex}

\setspaceafterinitial{4.3mm plus 0em minus 0em}
\setspacebeforeinitial{4.3mm plus 0em minus 0em}
% We set VII above the initial.
{\gresetfirstlineaboveinitial{\small At Magn.}{\small At Magn.}
\setsecondannotation{\small \oldstylenums{Ant. 1. D2}}

% We type a text in the top right corner of the score:
%\commentary{{\small \emph{Cf. Is. 30, 19 . 30 ; Ps. 79}}}

% and finally we include the score. The file must be in the same directory as this one.
\large
\includescore{MagnificatAntiphon}}%
%\vspace{-2ex}
\translation[]{My house shall be called a hosue of prayer, says the Lord.}
\smallskip
%\hrule

\normalsize

{\greblockcustos\setgrefactor{15}
\begin{magnificat}{MagnificatSolemn1D2}
\normalsize
\item \vspace{-3ex} Quia respéxit humilitátem \emph{an}\emph{cíl}\emph{lae} \textbf{sú}æ~:~* ecce enim ex hoc beátam me dícent ómnes gene\emph{ra}\emph{ti}\textbf{ó}nes.
\item Quia fécit míhi \emph{má}\emph{gna} \emph{qui} \textbf{pó}\textbf{tens} est~:~* et sánctum \emph{nó}\emph{men} \textbf{é}jus.
\item Et misericórdia éjus a progéni\emph{e} \emph{in} \emph{pro}\textbf{gé}\textbf{ni}es~* timén\emph{ti}\emph{bus} \textbf{é}um.
\item Fécit poténtiam in \emph{brá}\emph{chi}\emph{o} \textbf{sú}o~:~* dispérsit supérbos ménte \emph{cór}\emph{dis} \textbf{sú}i.
\item Depósuit po\emph{tén}\emph{tes} \emph{de} \textbf{sé}de,~* et exal\emph{tá}\emph{vit} \textbf{hú}\textbf{mi}les.
\item Esuriéntes \emph{im}\emph{plé}\emph{vit} \textbf{bó}nis~:~* et dívites dimí\emph{sit} \emph{in}\textbf{á}nes.
\item Suscépit Israel \emph{pú}\emph{e}\emph{rum} \textbf{sú}um,~* recordátus misericór\emph{di}\emph{æ} \textbf{sú}æ.
\item Sicut locútus est \emph{ad} \emph{pá}\emph{tres} \textbf{nó}stros,~* Abraham et sémini é\emph{jus} \emph{in} \textbf{saé}\textbf{cu}la.
\item Glória \emph{Pá}\emph{tri}, \emph{et} \textbf{Fí}\textbf{li}o,~* et Spirí\emph{tu}\emph{i} \textbf{Sán}cto.
\item Sicut érat in princípio, \emph{et} \emph{núnc}, \emph{et} \textbf{sém}per,~* et in saécula sæcu\emph{ló}\emph{rum}. \textbf{A}men.
\end{magnificat}
}
\hrule
\smallskip
\begin{center}{\large Collect.}\end{center}
% default width is 265pt
%\sloppy
%,colwidths={1=220pt}
\begin{parcolumns}[rulebetween]{2}
\sloppy
\prayer{Deus, qui beátum Philíppum, confessórem túum, sanctórum tuórum glória sublimásti~:~\dag{} concéde propítius, ut cújus solemnitáte lætámur,~* ejus virtútum proficiámus exémplo. Per Dóminum nostrum.}
{O God, who hast exalted blessed Philip, Thy Confessor, in the glory of Thy saints, grant that, as we rejoice in his solemnity, so we may profit by the example of his virtues. Through our Lord.}
\end{parcolumns}
\bigskip

\setspaceafterinitial{0.3mm plus 0em minus 0em}
\setspacebeforeinitial{0.3mm plus 0em minus 0em}
\gresetfirstlineaboveinitial{\small \Vbar{}.}{\small \Vbar{}.}
\includescore{BenedicamusDomino_1class1stvespers}

\bigskip
\begin{parcolumns}[rulebetween]{2}
\selectlanguage{latin}%
\colchunk{\Vbar{}. Fidélium ánimæ per misericórdiam Déi requiéscant in páce.}
\selectlanguage{american}%
\colchunk{\Vbar{}. May the souls of the faithful departed through the mercy of God rest in peace.}
\selectlanguage{latin}%
\colplacechunks{}
\colchunk{\Rbar{}. Amen.}
\colchunk{\Rbar{}. Amen.}
\end{parcolumns}
\end{document}
